finding the nth term in the binomial expansion